#pragma once
#include <Windows.h>
#include <string>

std::wstring atou(const char *src, UINT encode = CP_ACP);

std::wstring atou(const std::string &src, UINT encode = CP_ACP);

std::string utoa(const wchar_t *src, UINT encode = CP_ACP);

std::string utoa(const std::wstring &src, UINT encode = CP_ACP);

std::wstring atouu8(const char *src);

std::wstring atouu8(const std::string &src);

std::string utoau8(const wchar_t *src);

std::string utoau8(const std::wstring &src);

std::string u8toa(const char *src);

std::string u8toa(const std::string &str);

std::string atou8(const char *src);

std::string atou8(const std::string &src);
